package study.saas.order.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import study.saas.common.viewmodel.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "indent")
@ApiModel
public class Indent extends BaseEntity {

    @Column
    @ApiModelProperty(value = "订单id")
    private String IndentId;

    @Column
    @ApiModelProperty(value = "商品名称")
    private String CommodityName;

    @Column
    @ApiModelProperty(value = "商品数量")
    private Integer number;

    @Column
    @ApiModelProperty(value = "订单价格")
    private Integer price;

}
